package com.xc.c1

object digui {

  def main(args: Array[String]): Unit = {
    test(4)
  }

  def test(x: Int) {
    if (x > 2) {
      test(x - 1)
    }
    println("x = " + x)
  }
}
